<!--
 * @Descripttion: 
 * @Author: voanit
 * @Date: 2022-06-22 08:51:52
 * @LastEditors: voanit
 * @LastEditTime: 2022-06-22 15:11:58
-->
<template>
 <div>
  御剑乘风来,除魔天地间!===box==={{b}}
 </div>
</template>
           
<script>
export default{
    name:'box-com',
    data () {
        return {
            b:''
        }
    },
    created () {
       console.log(this, 'brother');
    },
    computed:{
    },
    methods:{
    },
    mounted(){
      this.$Bus.$on('brotherHandle',(msg)=>{
        console.log('我是哥哥',msg);
        this.b=msg
      })
    }
}
</script>
<style lang='less'  scoped>
 
</style>